@import '@/app/styles/variables';

.block {
  background-color: #f5f5f5;
}

.descr {
  margin-top: 15px;
  margin-bottom: 48px;
}

.flex {
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.circle {
  background-color: #57ffd7;
  border: 3px solid #f3f3f3;
  border-radius: 100%;

  font-weight: 500;
  font-size: 14px;
  line-height: 20px;

  flex-shrink: 0;
  width: 80px;
  height: 80px;
  box-sizing: content-box;

  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
}

.circleSmall {
  position: absolute;
  right: 0;
  top: 0;

  background-color: #fff;
  border-radius: 100%;

  width: 25px;
  height: 25px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.wave {
  background-image: url('../../images/icon-wave-s.svg');
  background-repeat: no-repeat;
  background-size: cover;

  width: 60px;
  height: 10px;
}

.images {
  position: relative;
  width: 131px;
  height: 86px;

  & > .image {
    width: 80px;
    height: 80px;
    box-sizing: content-box;

    border: 3px solid #f3f3f3;
    border-radius: 100%;

    position: absolute;

    &:first-child {
      background-image: url('../../images/recipe1.png');
      background-size: 170%;
      background-position-y: 0%;

      z-index: 2;
    }

    &:last-child {
      background-image: url('../../images/recipe2.png');
      background-size: 220%;
      background-position: 69% 15%;

      left: 45px;
      z-index: 1;
    }
  }
}

@include media-min(sm) {
  .circle {
    width: 94px;
    height: 94px;
    font-size: 20px;
    line-height: 30px;
  }

  .wave {
    background-image: url('../../images/icon-wave-s.svg');
    width: 60px;
  }

  .images {
    width: 174px;
    height: 100px;

    & > .image {
      width: 94px;
      height: 94px;

      &:first-child {
        background-position-y: 30%;
      }

      &:last-child {
        left: 74px;
        background-size: 190%;
        background-position: 92% 20%;
      }
    }
  }
}

@include media-min(md) {
  .flex {
    padding-bottom: 10px;
    gap: 10px;
  }

  .circle {
    width: 100px;
    height: 100px;
  }

  .circleSmall {
    width: 30px;
    height: 30px;
  }

  .wave {
    background-image: url('../../images/icon-wave.svg');
    width: 120px;
  }

  .images {
    width: 196px;
    height: 106px;

    & > .image {
      width: 100px;
      height: 100px;

      &:first-child {
        background-position: 20% 0%;
        background-size: 150%;
      }

      &:last-child {
        background-position: 90% 30%;
        background-size: 200%;
        left: 90px;
      }
    }
  }
}

@include media-min(lg) {
  .flex {
    gap: 25px;
  }
}
